<%@ page import="java.util.List" %>
<%@ page import="java.util.Arrays" %>
<%@include file="../public.jsp"%>
<%--
  Created by IntelliJ IDEA.
  User: 698
  Date: 2025/6/26
  Time: 下午2:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>Title</title>
  <link rel="stylesheet" type="text/css" href="css/styless.css">
</head>
<body>
<%
  String id = request.getParameter("readerid");
  String sql = "delete from readers where readerid = ?" ;
  List<String> params = Arrays.asList(id);
  dosave(sql,params );
  response.sendRedirect("../reader.jsp");
%>
</body>
</html>
